<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"  language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html locale="true">
<head>
</head>
<body>
<form>
<table border="0" width="90%">
	<thead class="csstextreadonlyr">Controllers que participaron en el proceso</thead>
</table>
<hr>
<br>
<table width="100%">
	<tr>
		<td class="csstextr">Área</td>
		<td class="csstextr">Controller</td>
		<td class="csstextr"><input type="checkbox" name="chkTodos" class="chkTodos"/></td>
	</tr>
	<c:set var="i" ></c:set>
	<logic:iterate id="controller" property="encuestaTO.lstControllers" name="procesoForm">
	<tr>
		<td class="csstextr2"><bean:write name="controller" property="areaACargo"/></td>
		<td class="csstextr2"><bean:write name="controller" property="nombre"/></td>
		<td class="csstextr2">
			<logic:equal name="controller" property="existe" value="0">
				<input type="checkbox" name="chkController" class="chkController" 
			    value="<bean:write name="controller" property="rut"/>,<bean:write name="controller" property="nombre"/>,<bean:write name="controller" property="codUnidad"/>,<bean:write name="controller" property="areaACargo"/>, "/>
			</logic:equal>
		</td>
	</tr>
	</logic:iterate>
	<logic:empty name="procesoForm" property="encuestaTO.lstControllers">
	<tr>
		<td class="csstextr2" colspan="3">No existen controllers en el proceso</td>
	</tr>
	</logic:empty>
</table>
</form>
</body>
</html:html>
